﻿<cfscript>
/** 
* DataBase Frameworks - Sequence
* 
* @hint "DataBase Frameworks - Sequence - MarkNeed" 
*/ 

component 
	displayname="public.service.db.senate.sequence.MarkNeed" 
	output=false 
	accessors=true 
	{

	property type="string" name="studentId" hint="学号";
	property type="string" name="graduateCondition" hint="审核模板";
	property type="string" name="courseId" hint="课程ID";

	/**
	* @hint "初始化对象"
	*/
	public function init() output=false {
		return this;
	}
	
	/**
	* @hint "自定义主键规则"
	*/
	public string function getID() output=false {
		var nextID = getStudentId() & "," & getGraduateCondition() & "," & getCourseId();
		return nextID;
	}

}

</cfscript>